package com.caltco.cargo.ops.modules.sys.service;

import com.caltco.cargo.ops.common.base.gen.IBaseService;
import com.caltco.cargo.ops.modules.sys.entity.Project;
import com.caltco.cargo.ops.modules.sys.entity.SysUserEntity;
import com.caltco.cargo.ops.modules.sys.request.ProjectRequest;
import com.caltco.cargo.ops.modules.sys.vo.ProjectVO;

import java.util.List;

public interface ProjectService extends IBaseService<Project> {

    Boolean top(Long id, Integer isTop);

    Boolean collection(Long id, Integer isCollection);

    List<ProjectVO> get(ProjectRequest projectRequest);

    List<ProjectVO> getCreate(ProjectRequest projectRequest);

    List<ProjectVO> getJoin(ProjectRequest projectRequest);
    Boolean remove(Long id);

    List<SysUserEntity>getPersonList(Long id);

    Boolean save(ProjectRequest projectRequest);

    Boolean update(ProjectRequest projectRequest);

    Boolean join(ProjectRequest projectRequest);
}
